home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
How Would You Survive?
/
How Would You Survive (1995)(Grolier)[Mac-PC].iso
/
mac
/
AZTECW.DIR
/
01703_Script_Clothes
< prev
next >
Wrap
Text File
|
1995-09-12
|
4KB
|
157 lines
global gQuest, gBeenClicked
on AClothesRollovers1
set gBeenClicked = 0
if (not(CheckClickedStatus(gQuest))) then
if rollover(13) then
repeat while rollover(13)
AztecCursor
puppetsprite 43, true
set the locH of sprite 43 to 113
set the locV of sprite 43 to 277
updatestage
if the mousedown then
set GBeenClicked = 1
else
if gBeenClicked = 1 then
repeat while gBeenClicked = 1
AnimateLoopFast 6, 537, 5, "SA241101.AIF", 2
end repeat
end if
end if
end repeat
set the locH of sprite 43 to 913
puppetsprite 43, false
updatestage
else
if rollover(7) then
ArrowCursor
repeat while rollover(7)
set the locH of sprite 14 to 350
set the locV of sprite 14 to 118
updatestage
end repeat
else
if rollover(11) then
repeat while rollover(11)
AztecCursor
set the locH of sprite 12 to 237
set the locV of sprite 12 to 302
updatestage
if the mousedown then
puppetsound "SA241000.AIF"
end if
end repeat
set the locH of sprite 12 to 937
updatestage
else
if the mousecast = the castnum of sprite 9 then
ArrowCursor
repeat while the mousecast = the castnum of sprite 9 or rollover(10)
set the locH of sprite 10 to 356
set the locV of sprite 10 to 201
updatestage
end repeat
else
if rollover(40) then
HandCursor
else
if rollover(41) then
HandCursor
else
if rollover(42) then
HandCursor
else
ArrowCursor
end if
end if
end if
end if
end if
end if
end if
end if
RandomQuestion(gQuest)
end
on AClothesRollovers2
set gBeenClicked = 0
if (not(CheckClickedStatus(gQuest))) then
if rollover(6) then
repeat while rollover(6)
AztecCursor
puppetsprite 16, true
set the locH of sprite 16 to 505
set the locV of sprite 16 to 284
updatestage
if the mousedown then
set GBeenClicked = 1
else
if gBeenClicked = 1 then
repeat while gBeenClicked = 1
AnimateLoopToFro 6, 546, 2, "SA240500.AIF", 4
end repeat
end if
end if
end repeat
set the locH of sprite 16 to 905
puppetsprite 16, false
updatestage
else
if rollover(7) then
ArrowCursor
repeat while rollover(7)
set the locH of sprite 8 to 422
set the locV of sprite 8 to 179
updatestage
end repeat
else
if rollover(9) then
ArrowCursor
repeat while rollover(9)
set the locH of sprite 10 to 407
set the locV of sprite 10 to 306
updatestage
end repeat
set the locH of sprite 10 to 907
updatestage
else
if rollover(11) then
ArrowCursor
repeat while rollover(11)
set the locH of sprite 12 to 319
set the locV of sprite 12 to 106
updatestage
end repeat
else
if rollover(13) then
ArrowCursor
repeat while rollover(13)
set the locH of sprite 14 to 260
set the locV of sprite 14 to 323
updatestage
end repeat
set the locH of sprite 14 to 960
updatestage
else
if rollover(39) then
HandCursor
else
if rollover(41) then
HandCursor
else
if rollover(42) then
HandCursor
else
ArrowCursor
end if
end if
end if
end if
end if
end if
end if
end if
end if
RandomQuestion(gQuest)
end